package com.dd.cloud.user.req.classroom;

import com.dd.cloud.common.annotate.validation.Name;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * <p>
 * 媒体小节说明表
 * </p>
 *
 * @author czg
 * @since 2022-04-27
 */
@Data
public class UploadMediaContentListReq implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 视频id 有此id则修改, 没有则新增
     */
    private Integer id;

    /**
     * 要上传的文件
     */
    private MultipartFile file;


    private Integer sectionId;

    /**
     * 视频名字
     */
    @Name(begin = "视频名字", required = false)
    private String name;

    /**
     * 下标
     */
    private Integer index;

    /**
     * 排序
     */
    private Integer sort;

}